package com.woldier.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woldier.dto.OrdersDto;
import com.woldier.entity.Orders;

import java.util.List;

public interface OrderService extends IService<Orders> {
    void saveWithDetail(Orders orders);

    Page<OrdersDto> getOrderWithDetails(int page , int pageSize);
}
